package com.event.management.frontend;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 前台应用启动类
 */
@SpringBootApplication
@MapperScan("com.event.management.frontend.mapper")
@Slf4j
@EnableTransactionManagement
@EnableConfigurationProperties
@EnableCaching
public class FrontendApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(FrontendApplication.class, args);
        log.info("✅ 前台商城系统启动成功！");
    }
} 